//
//  UserHeaderDetailTableViewCell.m
//  EasyChat
//
//  Created by 萱草~ on 16/6/15.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "UserHeaderDetailTableViewCell.h"

@implementation UserHeaderDetailTableViewCell

-(void)dealloc{
    [_Name release];
    [_NameLabel release];
//    [_gapView release];
    [super dealloc];
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.Name = [[UILabel alloc] init];
        [self.contentView addSubview:self.Name];
        [_Name release];
        
        self.NameLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.NameLabel];
        [_NameLabel release];
        
//        self.gapView = [[UIView alloc] init];
//        self.gapView.backgroundColor = [UIColor grayColor];
//        [self.contentView addSubview:self.gapView];
//        [_gapView release];
        
    }
    return self;
}

-(void)layoutSubviews{
    [super layoutSubviews];
    
    self.Name.frame = CGRectMake(10, 10, 100, 30);
//    self.Name.backgroundColor = [UIColor lightGrayColor];
    
    self.NameLabel.frame = CGRectMake(VIEW_WIDTH - 230, 10, 200, 30);
//    self.NameLabel.backgroundColor = [UIColor lightGrayColor];
    

//    self.gapView.frame = CGRectMake(0, self.contentView.frame.size.height - 1, self.contentView.frame.size.width, 1);
}


@end
